package com.ruoyi.news.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 新闻管理对象 news
 * 
 * @author ruoyi
 * @date 2025-09-26
 */
public class News extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 新闻ID */
    private Long id;

    /** 新闻名称 */
    @Excel(name = "新闻名称")
    private String newsName;

    /** 新闻分类 */
    @Excel(name = "新闻分类")
    private String newsCategory;

    /** 新闻状态 */
    @Excel(name = "新闻状态")
    private String newsStatus;

    /** 新闻介绍 */
    @Excel(name = "新闻介绍")
    private String newsIntroduction;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setNewsName(String newsName) 
    {
        this.newsName = newsName;
    }

    public String getNewsName() 
    {
        return newsName;
    }

    public void setNewsCategory(String newsCategory) 
    {
        this.newsCategory = newsCategory;
    }

    public String getNewsCategory() 
    {
        return newsCategory;
    }

    public void setNewsStatus(String newsStatus) 
    {
        this.newsStatus = newsStatus;
    }

    public String getNewsStatus() 
    {
        return newsStatus;
    }

    public void setNewsIntroduction(String newsIntroduction) 
    {
        this.newsIntroduction = newsIntroduction;
    }

    public String getNewsIntroduction() 
    {
        return newsIntroduction;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("newsName", getNewsName())
            .append("newsCategory", getNewsCategory())
            .append("newsStatus", getNewsStatus())
            .append("newsIntroduction", getNewsIntroduction())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
